package vue;

import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.Label;

import javax.swing.JFrame;
import javax.swing.JPanel;
/**
 * create the help window in English 
 * @author morhib & moyart
 *
 */
public class HelpEnFrame extends JFrame {

	JPanel panel;
	JPanel panel1;
	JPanel panel2;
	JPanel panel3;
	
	public HelpEnFrame() {
		
		
		panel = new JPanel();
		panel1=new JPanel();
		panel2=new JPanel();
		panel3=new JPanel();
		panel1.add(new Label("Text Editor"));
		panel2.add(new Label("Write your text and choose a plugin to transform your text"));
		panel3.add(new Label("By Oumayma  Morhib and Moyart Yann"));
		
		panel.setLayout(new GridLayout(3, 1));
		panel.add(panel1);
		panel.add(panel2);
		panel.add(panel3);
		
		this.add(panel);
		
		
		setAlwaysOnTop(true);
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setSize(new Dimension(400, 300));
		setResizable(false);
		setLocationRelativeTo(null);
		setVisible(true);
		
	}

}
